|
hallcurrent20 2.2.1
|
Hall Current 20 Click example. More...
Macros | |
| #define | MIKROBUS_POSITION_HALLCURRENT20 MIKROBUS_1 |
| #define | HALLCURRENT20_CALIBRATING_CURRENT 3.0f |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Hall Current 20 Click example.
This example demonstrates the use of Hall Current 20 Click board by reading and displaying the input current measurements.
The demo application is composed of two sections :
Initializes the driver and calibrates the zero current offset and data resolution at 3A load current.
Reads the input current measurements and displays the results on the USB UART approximately once per second.
| #define HALLCURRENT20_CALIBRATING_CURRENT 3.0f |
| #define MIKROBUS_POSITION_HALLCURRENT20 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |